

export default {
    namespaced: true,//开启命名空间
    state: {
        actShow: true,
    },
    mutations: {
        GETBANNER(state,str){
            if (str === 'week') {
                state.actShow = false
            }else if(str === 'all'){
                state.actShow = true
            }
        }
    },
    actions: {
         change({commit},str) {

            commit('GETBANNER',str)
        }
    },
    getters: {}
}
